﻿if exists (select * from dbo.sysobjects where name = 'sp_Rating_GetById')	drop procedure [dbo].[sp_Rating_GetById]Go CREATE PROCEDURE dbo.sp_Rating_GetById	@Id		varchar(50),	@Level		bitAS	SELECT * FROM [Rating] WHERE Id = @Id AND Level = @LevelGo 